package com.ponxu.web.core;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ponxu.utils.Lang;

/**
 * jsp处理
 * 
 * @author xwz
 * 
 */
public class JSPResultRender extends ResultRender {
	public void render(HttpServletRequest request,
			HttpServletResponse response, String result)
			throws ServletException, IOException {
		if (Lang.isNotEmpty(result)) {
			request.getRequestDispatcher(result).forward(request, response);
		}
	}
}
